package com.feri.redromance01.dao;

import com.feri.redromance01.entity.EmployeeInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeInfoDao {
    int save(EmployeeInfo employeeInfo);
    int update(EmployeeInfo employeeInfo);
    int delete(int id);
    long selectCount(String name);
    List<EmployeeInfo> selectPage(@Param("name") String name, @Param("start") int start, @Param("size") int size);
    int saveBatch(List<EmployeeInfo> list);
    int delByIds(int[] ids);

}
